package com.wdz.entity;

/**
 * @Author ：Wu Dazhong
 * @Date :2019/6/15
 * @Description:用户实体类
 */
public class User {

    private  String name;

    private Integer age;

    private String gender;

    private String motto;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getMotto() {
        return motto;
    }

    public void setMotto(String motto) {
        this.motto = motto;
    }

    @Override
    public String toString() {
        return age+"岁"+gender+"人["+name+"]的座右铭是"+motto+"!!!";
    }
}
